package com.wicket.okrbff.biz.service.dto.common;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;


/**
 * @desc BffNoArcOrgGradeScopeDto
 * @使用场景
 */
@Data
public class BffNoArcOrgGradeScopeDto implements Serializable {

    /**
     * 等级范围关系ID:
     */
    @ApiModelProperty("等级范围关系ID")
    private String gradeScopeId;

    /**
     * 归属对象类型编码:
     */
    @ApiModelProperty("归属对象类型编码")
    private String typeCode;

    /**
     * 归属对象实例ID:
     */
    @ApiModelProperty("归属对象实例ID")
    private String entityId;

    /**
     * 岗位等级别名:
     */
    @ApiModelProperty("岗位等级别名")
    private String stationGradeAlias;

    /**
     * 岗位等级ID:
     */
    @ApiModelProperty("岗位等级ID")
    private String stationGradeId;

    /**
     * 批次下更新状态:
     */
    @ApiModelProperty("批次下更新状态")
    private String updateStatus;

    @Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffNoArcOrgGradeScopeDto that = (BffNoArcOrgGradeScopeDto) o;
      return  gradeScopeId == that.gradeScopeId&&typeCode == that.typeCode&&entityId == that.entityId&&stationGradeAlias == that.stationGradeAlias&&stationGradeId == that.stationGradeId&&updateStatus == that.updateStatus;
    }

    @Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), gradeScopeId,typeCode,entityId,stationGradeAlias,stationGradeId,updateStatus);
    }

}
